projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
808a6f8
)
* src/xterm.c (XTread_socket): Don't filter GenericEvents.
author
Po Lu
<luangruo@yahoo.com>
Sat, 19 Mar 2022 02:52:27 +0000
(10:52 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Sat, 19 Mar 2022 02:52:27 +0000
(10:52 +0800)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 5c5f24e297d6207b5c00f80fbac2cb01392e63d4..b820c102f1b697d48c80f885e6dfb396d472a968 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-14510,8
+14510,17
@@
XTread_socket (struct terminal *terminal, struct input_event *hold_quit)
#ifdef HAVE_X_I18N
/* Filter events for the current X input method. */
- if (x_filter_event (dpyinfo, &event))
- continue;
+#ifdef HAVE_XINPUT2
+ if (event.type != GenericEvent)
+ {
+ /* Input extension key events are filtered inside
+ handle_one_xevent. */
+#endif
+ if (x_filter_event (dpyinfo, &event))
+ continue;
+#ifdef HAVE_XINPUT2
+ }
+#endif
#endif
event_found = true;